package com.zhx.taoda.model;


import java.util.List;

/**
 * 模板字段
 */
public class TemplateField {
    /**
     * 申请件条码
     */
    private String preLoanNo;
    private String customerName;
    private String idCard;
    private String submitTime;

    public TemplateField(String item) {
        String[] itemField = item.split(",");
        this.preLoanNo = itemField[0];
        this.customerName = itemField[1];
        this.idCard = itemField[2];
        this.submitTime = itemField[3];
    }

    public TemplateField(List<String> list) {
        this.preLoanNo = list.get(0);
        this.customerName = list.get(1);
        this.idCard = list.get(2);
        this.submitTime = list.get(3);
    }

    public TemplateField() {
    }

    public String getPreLoanNo() {
        return preLoanNo;
    }

    public void setPreLoanNo(String preLoanNo) {
        this.preLoanNo = preLoanNo;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(String submitTime) {
        this.submitTime = submitTime;
    }
}
